package org.csu.jpetstore.persistence;

import org.csu.jpetstore.domain.Cart;
import org.csu.jpetstore.domain.Item;

import java.util.List;

public interface CartDAO {
    public void addItemToCart(Item item, String username);
    public void updateCartQuantities(Item item, int num, String username);
    public List<String> getItemList(String username);
    public int itemNumber(String itemId, String username);
    public void remove(Item item, String username);
    public void submitCart(String username, int orderid);
    public List<String> findOrder(int orderid);
}
